.class public Lorg/microemu/device/impl/Color;
.super Ljava/lang/Object;
.source "Color.java"


# instance fields
.field private value:I


# direct methods
.method public constructor <init>(I)V
    .locals 0
    .parameter "value"

    .prologue
    .line 33
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 34
    iput p1, p0, Lorg/microemu/device/impl/Color;->value:I

    .line 35
    return-void
.end method


# virtual methods
.method public getBlue()I
    .locals 1

    .prologue
    .line 52
    iget v0, p0, Lorg/microemu/device/impl/Color;->value:I

    and-int/lit16 v0, v0, 0xff

    return v0
.end method

.method public getGreen()I
    .locals 1

    .prologue
    .line 46
    iget v0, p0, Lorg/microemu/device/impl/Color;->value:I

    shr-int/lit8 v0, v0, 0x8

    and-int/lit16 v0, v0, 0xff

    return v0
.end method

.method public getRGB()I
    .locals 1

    .prologue
    .line 58
    iget v0, p0, Lorg/microemu/device/impl/Color;->value:I

    return v0
.end method

.method public getRed()I
    .locals 1

    .prologue
    .line 40
    iget v0, p0, Lorg/microemu/device/impl/Color;->value:I

    shr-int/lit8 v0, v0, 0x10

    and-int/lit16 v0, v0, 0xff

    return v0
.end method
